import request from '@/common/request'

// 报告信息列表
export function reportList(data) {
  return request({
    url: '/quality/report/list',
    method: 'post',
		data: data
  })
}

// 报告授权
export function reportAuth(id, type) {
  return request({
    url: '/quality/report/allow/'+id+'/'+type,
    method: 'get'
  })
}

// 报告核验
export function reportCheck(id, data) {
  return request({
    url: '/quality/report/check/'+id,
    method: 'post',
		data: data
  })
}

// 报告归档
export function reportDone(id) {
  return request({
    url: '/quality/report/done/'+id,
    method: 'post'
  })
}